package request

import (
	"server/src/model"
	"server/src/model/common"
)

type AdminLoginReq struct {
	LoginToken string `json:"login_token" from:"login_token"`
}

// 获取用户信息
type GetUserInfo struct {
	Page *common.PageReqInfo `json:"page" from:"page"`
	Name string              `json:"name" from:"name"`
	Gid  int                 `json:"gid" from:"gid"`
}

// 获取用户积分信息
type GetUserIntegralInfoPage struct {
	Page *common.PageReqInfo `json:"page" from:"page"`
}

// 获取更改积分的用户信息
type ChangeUserIntegral struct {
	UserId   int     `json:"user_id" from:"user_id"`
	Gid      int     `json:"gid" from:"gid"`
	WxUserId string  `json:"wx_user_id" from:"wx_user_id"'`
	Name     string  `json:"name" from:"name"`
	Integral float64 `json:"integral" from:"integral"` //加多少或者减多少
}

// 获取审核信息
type AuditInfo struct {
	AuditBool bool                  `json:"audit_bool" from:"audit_bool"`
	GroupUser *model.DivisionRecord `json:"group_user" from:"group_user"`
}

// 获取是否发送给系统
type SendSystem struct {
	SendingSystemBool bool                  `json:"sending_system" from:"sending_system"`
	SendingUser       *model.DivisionRecord `json:"sending_user" from:"sending_user"`
}

// 获取抽水比列
type PuPm struct {
	PuPm float64 `json:"pu_pm" from:"pu_pm"`
}
